package cn.schoolwow.quickserver.exception;

import cn.schoolwow.quickserver.response.HttpStatus;

/**
 * http状态码异常
 * */
public class HttpStatusException extends RuntimeException{
    private HttpStatus httpStatus;

    public HttpStatusException(HttpStatus httpStatus) {
        this.httpStatus = httpStatus;
    }

    public HttpStatus getHttpStatus() {
        return httpStatus;
    }
}
